public class Test {
    public static void main(String[] args){
        Rabbit r = new Rabbit("cisotu",12);
        Dog d1 = new Dog("xiaobai",10);
        Dog d2 = new Dog("dahuang",6);
        Frog f= new Frog("xiaoqing",2);
        r.eat();
        f.swimming();
        f.eat();
        d1.eat();
        d1.swimming();
    }
}
